/**
 * The MIT License
 *
 *  Copyright (c) 2017
 */
package com.seelyn.flow.engine;

import com.seelyn.flow.work.WorkReport;
import com.seelyn.flow.workflow.WorkFlow;

/**
 * Interface for workflow engine.
 *
 * @author slacrey  (237242115@qq.com)
 */
public interface WorkFlowEngine {

    /**
     * Run the given workflow and return its report.
     *
     * @param workFlow to run
     * @return workflow report
     */
    WorkReport run(WorkFlow workFlow);

}
